package com.teacher.pojo.dto.comment;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author jiangzhuohang
 * @create 2024/3/18 12:05
 */
@Data
public class CommentUpdateDto implements Serializable {

    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;


    /**
     * 评论人openId
     */
    @ApiModelProperty("评论人openId")
    private String commentatorOpenId;

    /**
     * 评论人名称
     */
    private String commentatorName;

    /**
     * 被评论人名称
     */
    private String commenteeName;

    /**
     * 被评论人openId
     */
    @ApiModelProperty("被评论人openId")
    private String commenteeOpenId;

    /**
     * 评论内容
     */
    @ApiModelProperty("评论内容")
    private String comment;

    /**
     * 评分
     */
    @ApiModelProperty("评分")
    private Float score;
}
